package com.sdhs.workflow.service;

import com.sdhs.workflow.domain.vo.UnifyMsgVo;
import com.sdhs.workflow.domain.vo.UnifyTaskVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestHeader;

/**
 * 调用统一代办平台接口
 */
@FeignClient(url = "${unify.url}",name = "iUnifySendMsgApiService")
public interface IUnifySendMsgApiService {

    /**
     * 统一消息集成--发送消息
     * @param ClientId
     * @param OperationCode
     * @param msgVo
     * @return
     */
    @PostMapping("/Iaw/portal/api/mms/sendMsg")
    public String sendMsg(@RequestHeader("ClientId")String ClientId,
                          @RequestHeader("OperationCode")String OperationCode,
                          @RequestBody UnifyMsgVo msgVo);


}
